package utils.export;

import java.io.FileWriter;
import java.io.IOException;

public class LogUtils {
	private static String path = "C:\\Users\\Gary Benattar\\workspace\\GTrend\\Log\\logCollocationTopic.txt";
	public static void writeToFile(String s){
		try
		{
			FileWriter writer = new FileWriter(path,true);
			
			writer.append(s);
			writer.flush();
			writer.close();
		}
		catch(IOException e)
		{
			e.printStackTrace();
			System.err.println("Error during wrinting in file");
		} 

	}
}
